<?php
class Test_DojoController extends Zend_Controller_Action
{
	public function init()
    {
        // allow everyone access to all actions
        //$this->_helper->acl->allow(null);
    }    
	    
    /**
     * This action is the home page of the website
     *
     */
    public function indexAction()
    {		
        $this->view->content="contenu ici";
    }
    
    public function formAction()
    {
    	$form = new Wmp_Form();
    	$form->addElement(
			    'Button',
			    'foosdsdsd',
			    array(
			        'label' => 'Button Label',
			    )
			);
		$form->setWmpDecorators();
    	$this->view->form2 = new Dojoform();
    	$this->view->form = $form;
    }

	public function formAccordionAction()
    {
    	$this->view->form = new DojoformAccordion();
    }
}